import request from '@/utils/request'
import render from "../../utils/generator/render";

// 查询维护站-M站超标车辆统计
export function listStatistics(query) {
  return request({
    url: '/statistics/search/m/getlist',
    method: 'get',
    params: query
  })
}

//M站超标车辆查询
export function exceedStandard(query) {
  return request({
    url: "/statistics/search/m/exceedStandard",
    method: 'get',
    params: query
  })
}


export function districtVos() {
  return request({
    url: "/statistics/search/districtVos",
    method: 'get'
  })
}

//M站超标车辆查询详情
export function exceedStandardDet(query) {
  return request({
    url: "/statistics/search/m/exceedStandard/det/" + query,
    method: 'get'
  })
}


//I站名称筛选
export function siteiNameSearch(query) {
  return request({
    url: "/statistics/search/i/search",
    method: "get",
    params: query
  })
}

//M站名称筛选
export function sitemNameSearch(query) {
  return request({
    url: "/statistics/search/m/search",
    method: "get",
    params: query
  })
}

//M站名称筛选
export function sitemNameSecondSearch(query) {
  return request({
    url: "/statistics/search/m/second/search",
    method: "get",
    params: query
  })
}
//二级站道路运输企业名称筛选
export function siteiNamesecondSearch(query) {
  return request({
    url: "/statistics/search/i/second/search",
    method: "get",
    params: query
  })
}

//M站超标车辆统计导出
export function exportMData(query) {
  return request({
    url: "/statistics/search/m/exportdata",
    method: "get",
    params: query
  })
}

